﻿//Process Player Class
//Programmiert smupwn
//Copyright 2013-2014 by smupwn & lacka
//Project Robotic One


using System;
using System.Text;



namespace robotic_one.Helper
{
    class Player
    {
        Memory mem = new Memory();


        public string PlayerName()
        {
            string pName = mem.ReadString(0x00C79D18, 20);
            return pName;
        }

        public uint PlayerLvL()
        {
            uint pbase = mem.ReadUInt(mem.ReadUInt(mem.ReadUInt(0x00CF7C00) + 0x34) + 0x24);
            uint pLvl = mem.ReadUInt(mem.ReadUInt(pbase + 0x8) + (0x37 * 4));
            return pLvl;
        }

        

    }
}
